<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class AdPosition extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'ad_position';
    public $timestamps = false;

    public function ads(){
        return $this->hasMany(Ad::class,"pid","id");
    }
}
